#!/bin/bash

find . -type f -a '(' -name '*.c' -o -name '*.h' ')' | xargs clang-format -i
